<template>
  <div class="colWrapper wrapper">
    <div>
      <!--面包屑-->
      <div>
        <Breadcrumb>
          <BreadcrumbItem>机器管理</BreadcrumbItem>
          <BreadcrumbItem>选择设备</BreadcrumbItem>
        </Breadcrumb>
      </div>
      <!-- tab -->
      <div class="rowWrapper">
        <label for="refound">
          <input class="tabChoose"
                 type="radio"
                 id="refound"
                 name="tab"
                 value="未选择设备"
                 checked/>
          <div>
            <span>未选择设备</span>
          </div>
        </label>
        <label for="deductions">
          <input class="tabChoose" type="radio" id="deductions" name="tab" value="已选择设备"/>
          <div>
            <span>已选择设备</span>
          </div>
        </label>
      </div>

    </div>

    <div class="colWrapper bodyCon">
      <div class="subTitleCon">
        <span>选择上传设备</span>
      </div>
      <div class="colWrapper subBodyCon">
        <div class="colWrapper">
          <div class="rowWrapper">
            <div class="rowWrapper serchForm">
              <div class="rowWrapper">
                <div>
                  <span>机器名:</span>
                </div>
                <input class="itemInput"/>
              </div>
              <div class="itemBtn">
                <Button type="error">搜索</Button>
              </div>
            </div>
            <div class="tips">
              <span>注释：（仅作为解释说明）
1.所有有关机器名的都使用模糊搜索
：%关键字%
2.列表按照设备名称排序</span>
            </div>
          </div>
          <!--          表格-->
          <div class="colWrapper">
            <div class="selectAll">
              <Button type="error">全选</Button>
            </div>
            <Table :columns="columns1" :data="data"></Table>
          </div>
        </div>
        <div class="rowWrapper submitButtom">
          <Button type="primary">确定</Button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import '../../style/main.css'

export default {
  data() {
    return {
      columns1: [
        {
          title: "选择",
          key: "id",
          minWidth: 150,
          align: "center"
        },
        {
          title: "机器名",
          key: "id",
          minWidth: 150,
          align: "center"
        },
      ],
      data: []
    }
  }
};
</script>

<style scoped>
.wrapper {
  align-items: flex-start;
}

.submitButtom {
  align-self: flex-end;
}

.bodyCon {
  width: 688px;
  margin-top: 20px;
}

.subTitleCon {
  align-self: flex-start;
}

.subTitleCon > span {
  color: rgba(80, 80, 80, 1);
  font-size: 40px;
}

.subBodyCon {
  width: 100%;
}

.serchForm {
  /*width: 80%;*/
}

.itemInput {
  margin-left: 20px;
}

.itemBtn {
  margin-left: 20px;
}

.tips {
  margin-left: 20px;
  width: 40%;
}

.selectAll {
  align-self: flex-start;
}
</style>
